package br.com.rafsoft.mapaentrega;

public class TaskUtil {
	
	public static final int OPEN = 0;
	public static final int CLOSE = 1;
	public static final int CANCEL = 2;
	public static final int ALERT = 3;
	
	public static int getIcon(int status) {
		switch (status) {
		case OPEN:
			return R.drawable.task_info_32;			
		case CLOSE:
			return R.drawable.task_ok_32;
		case CANCEL:
			return R.drawable.task_erro_32;
		case ALERT:
			return R.drawable.task_alert_32;
		default:
			return R.drawable.task_erro_32;
		}
	}

}
